etcdhttp: check method for every endpoint, add tests

I think it is not beautiful and adds an allocation.