Changed to send SSL_shutdown as part of BIO close channel handler rather than Tls_Clean.