public RecordHandler(ProtocolVersion version, bool isClient)
{
_isClient = isClient;
// Start with NULL cipher suite and key block
_nextCipherSuite = new CipherSuite(version);
_nextKeyBlock = new KeyBlock();
// Initialize all the other variables
ChangeLocalState();
ChangeRemoteState();
_inputEpoch = 0;
_outputEpoch = 0;
}