Fix GnuTLS dependency in CMakeLists
Implement HashPipes and fix bugs in GnuTLSHash