func NewClientHandler(lg *zap.Logger, server etcdserver.ServerPeer, timeout time.Duration) http.Handler {
	mux := http.NewServeMux()
	etcdhttp.HandleBasic(mux, server)
	handleV2(lg, mux, server, timeout)
	return requestLogger(lg, mux)
}
func NewClientHandler(lg *zap.Logger, server etcdserver.ServerPeer, timeout time.Duration) http.Handler {
	mux := http.NewServeMux()
	etcdhttp.HandleBasic(mux, server)
	handleV2(lg, mux, server, timeout)
	return requestLogger(lg, mux)
}
// NewClientHandler generates a muxed http.Handler with the given parameters to serve etcd client requests.