single socket; prepare for heroku