SSL.File: Propagate fatal alerts to close and write callbacks.
SSL did not call the close_callback on SSL.File()s that connect outgoing
and abort the handshake by sending fatal alerts to the server.
Fatal alerts generated locally (ie due to broken data from peer)
are now signalled on the close and write callbacks with errno set
to ECONNABORTED and fatal alerts received from the peer have errno
set to ECONNRESET.
Thanks to Tobias S. Josefowitz <firstname.lastname@example.org> for the report.
Tentative fix for [LysLysKOM 21005266].