TSMimeHdrLengthGet(3) calculates the length of the MIME header located at hdr_loc if it were