"If _gnutls_send_finished fails with GNUTLS_E_AGAIN or GNUTLS_E_AGAIN it
eventually gets called a second time.
It however does not call _gnutls_send_handshake with a NULL pointer on
repeated calls, ultimately leading to an internal error in
_gnutls_handshake_io_send_int."