Added support for HTTP headers