add a quicky demo of getaddrinfo()

This program functions like a minimalistic nslookup.