first step to gnutls, maybe...