etcd/client: add tests for requestHTTP