add support for passing through custom headers