porting zookeeper to go