made socket.io connect to server rather than localhost