code: function(c, record) {
      // get record handler (align type in table by subtracting lowest)
      var aligned = record.type - tls.ContentType.change_cipher_spec;
      var handlers = ctTable[c.entity][c.expect];
      if(aligned in handlers) {
        handlers[aligned](c, record);
      } else {
        // unexpected record
        tls.handleUnexpected(c, record);
      }
    }
docs: Updates the current TLS engine state based on the given record.
  
  @param c the TLS connection.
  @param record the TLS record to act on.