A java server for canvas sharing application involving websocket and http request handling