Websocket server to connect and do operations