Add boilerplate for websocket