Changed PF_INET for getaddrinfo(3) to PF_UNSPEC.