allow custom headers to be provided