Preparation for GnuTLS backend