fix socket path, add procfile for heroku deployment
prevent the app from blowing up if bad data is sent from client