WebSocket base class is now workable