Make AutomapHostsOnResolve work with IPv6

Since IPv6 addresses are infinite[*], it'd be a good idea to support automapping to them. In fact, we should automap to them by default when possible.

This is orthogonal to actual client use of IPv6 addresses.

[*] For very small values of infinity.