Add source code from ZooKeeper Simple Watch example