Avoid tripping over getnameinfo() errors as much as possible in resolve().