simple c++ client for etcd