updated web socket server and client for heroku