etcdserver/etcdhttp: break apart HTTP handlers