Add abstraction boundary around HTTP connections