add some http-related boilerplate