Ensure that header_add and header_split are idempotent