Common HTTP functionality for the Teepee project