Avoid IPv6 addresses.

At the moment ntimed only uses one IPv4 socket, so the
address lookup code needs to ensure that it only passes
IPv4 addresses to the socket code.