gai.c: Add program for name resolution using getaddrinfo(3).