Make it compatible with the most recent gevent-socketio