pub fn websocket_client_prepare_handshake<P: IsA<Message>>( msg: &P, origin: Option<&str>, protocols: &[&str], )