Dup headers before modifying them