Perform SSL handshaking.
template< typename Stream> boost::system::error_code handshake( impl_type & impl, Stream & next_layer, stream_base::handshake_type type, boost::system::error_code & ec);