add ability to configure HTTP headers