Comment debug messages for getaddrinfo(); add errno for nvlist for gettaddrinfo()
Add prototype for dh_connect; Fix typo