pub fn generate_key() -> String
Generate a random key for the Sec-WebSocket-Key header.
Sec-WebSocket-Key