A new version of the getaddrinfo code from the samba source.