refactor(a10resource): pulling out httpclient