Internal ZooKeeper API: leadership, mutex, semaphore
Skeleton of ZMQ-based GridMaster