pub fn handle_handshake<S: Read + Write>( stream: &mut S, ) -> Result<Request<()>, WsError>
handle protocol handshake