Add a TLS version consistency check during session resumption