Create factory for IZooKeeper client