Add support for setting custom headers