nodejs/flask-socketio websocket implementation