Gateway for websocket to http interface.