Set up the websocket server