ssl: Make sure handshake messages are handled correctly during version negotiation
ssl: Make sure handshake messages are handled correctly during version negotiation

Handshake messages MAY be coalesced into a single TLSPlaintext record
or fragmented across several records. There are also stricter conditions
that must be met for TLS-1.3 "see RFC 8446 section 5.1.  Record Layer"

This means that when supporting both TLS-1.2 and TLS-1.3 as a client we need to
make sure that only the server hello message is handled initially so that
possible coalesced TLS-1.2 handshake messages will be handled by TLS-1.2 code
when the negotiated version has been established.

Closes #5961

bjorng/otp,dgud/otp,mikpe/otp,rlipscombe/otp,vinoski/otp,bjorng/otp,dgud/otp,dgud/otp,g-andrade/otp,mikpe/otp,dgud/otp,dgud/otp,isvilen/otp,emacsmirror/erlang,erlang/otp,dgud/otp,vinoski/otp,rlipscombe/otp,emacsmirror/erlang,emacsmirror/erlang,vinoski/otp,bjorng/otp,bjorng/otp,g-andrade/otp,rlipscombe/otp,dumbbell/otp,potatosalad/otp,dumbbell/otp,g-andrade/otp,emacsmirror/erlang,vinoski/otp,vinoski/otp,erlang/otp,dumbbell/otp,potatosalad/otp,potatosalad/otp,erlang/otp,g-andrade/otp,emacsmirror/erlang,dgud/otp,emacsmirror/erlang,g-andrade/otp,vinoski/otp,potatosalad/otp,isvilen/otp,rlipscombe/otp,rlipscombe/otp,dumbbell/otp,dgud/otp,isvilen/otp,g-andrade/otp,mikpe/otp,rlipscombe/otp,emacsmirror/erlang,emacsmirror/erlang,isvilen/otp,g-andrade/otp,g-andrade/otp,vinoski/otp,mikpe/otp,g-andrade/otp,rlipscombe/otp,dumbbell/otp,bjorng/otp,emacsmirror/erlang,dgud/otp,vinoski/otp,mikpe/otp,g-andrade/otp,potatosalad/otp,potatosalad/otp,emacsmirror/erlang,bjorng/otp,mikpe/otp,isvilen/otp,mikpe/otp,bjorng/otp,dumbbell/otp,potatosalad/otp,potatosalad/otp,dumbbell/otp,dumbbell/otp,bjorng/otp,erlang/otp,mikpe/otp,erlang/otp,isvilen/otp,erlang/otp,erlang/otp,rlipscombe/otp,bjorng/otp,vinoski/otp,mikpe/otp,dgud/otp,erlang/otp,rlipscombe/otp,erlang/otp,potatosalad/otp,isvilen/otp,potatosalad/otp,dumbbell/otp,vinoski/otp,erlang/otp,bjorng/otp,isvilen/otp,rlipscombe/otp,isvilen/otp,mikpe/otp,isvilen/otp,dumbbell/otp