Add "unpack_sha1_header()" helper function