Implement lightweight getaddrinfo_a wrappers.