etcd: support v2 leader endpoint