Websocket framework.