remove hard coded url for socket.io