Added very basic WebSocket support to json server