Configuring socket.io to work in heroku environment