version with gnutls instead of openssl