support etcd v2 api