following the way to work with socket.io from heroku