adding first cut of blocking httpclient implementation