websocket: class done