etcdserver: validate peerurl when adding members

i plan to do that in another pr. we also need to update the etcd client and etcdctl.