websocket instance