Force a program to use IPv4 or IPv6 by overriding getaddrinfo()