I have used socketio already one time for a project. I had the normal rest api and the socket server in one app. But i am not sure whats the best way is. Because now i need