remove dependency on GnuTLS for later replacement with OpenSSL