pub async fn receive_response<'buf, AR>( stream: &mut AR, read_buf: &mut [u8], ) -> Result<HandshakeOutcome>where AR: AsyncRead + Unpin,