Now resolving zk hosts before sending them to zk.

That way we can skip the ones that don't resolve, instead
of having the library fail for them.