Determine the amount of data that may be read without blocking.
template< typename Stream> std::size_t in_avail( impl_type & impl, Stream & next_layer, boost::system::error_code & ec);