Made repeated failures to handshake return fatal errors and made handshake code use the same logic as the rest of the OpenSSL read error checking