Don't force gnutls, conditionally remove dead code