setup websocket