Getting rid of Flask-SocketIO