modifies socket connection heroku testing