getaddrinfo, protocol-independent (defined by POSIX) replacement for gethostbyname/addr