Add support for generating headers in armor()