Initial WebSocket gate implementation