Better WebSocket messaging