Send close_notify when closing a kTLS connection; fixes some warnings from GnuTLS.