Add hdr.format(), deprecate hdr.sprintf()