add missing WebSocket and WebSocketManager classes