etcdserver/etcdhttp: apply in single goroutine to avoid race