Common code to consume a HTTP service provisioned via Zookeeper