Changing socket.io to make it work with heroku