addressing comments for changes in the send method in websocket.rs