copy headers for passthrough