fix($location): support IPv6 addresses