Copy headers from content before compressing