Fix bug with aborted server TLS connection, under GnuTLS