pub fn websocket_server_process_handshake<P: IsA<Message>>( msg: &P, expected_origin: Option<&str>, protocols: &[&str], ) -> bool