discover: Support IPv6 addresses