handler 307 in etcd protocol