http: replace sha1_to_hex