Added ability to set the server locatin for socket.io