Fix for socket.io integration with Heroku