Foundational HTTP abstraction layer