WebSocket prototype