Minor fixes to host_ip() which maps a hostname (string) to the first ip addr
returned by getaddrinfo(3). Result is an IPSTR, not an in_addr.