Websocket server over Gevent wsgi server with json communication