http.c: Remove unnecessary strdup of sha1_to_hex result