Add support for handling non-blocking GnuTLS channels