adding addrinfo (yuck, this brings back horrible memories...)