Build the websocket server