Portability

- Added version-specific GnuTLS calls.