Simple WebSocket implementation