Fixes for the perf issues under load.

check-client is now a socket server, loads only one per zookeeper box ZK authentication process runs inside of a thread.