Do not try to resolve 0.0.0.0 and :: IP addresses
Tiny code cleanup