Added -4 and -6 options to force IPv4 or IPv6. in glibc, getaddrinfo
fails at times, even when provided with NUMERIC hint, if it is
AF_UNSPEC. (sigh)