Configuring socket for Heroku