Socket transfer setup and heroku deployment