fix for sockets not working properly on heroku-cedar