Change socket.io references for deployment