Bug fix, portable url for socket.io connection client side