Setup sockets correctly for heroku