genhash: HTTP handling fix, hash algo suite extension, and test script

```Signed-off-by: Jan Pokorný <jpokorny@redhat.com>```