changes to gnutls backend, but it still doesn't work correctly