complete websocket dispatcher