Using a proper presentation layer such as ASN.1/PER allows several major
optimisations to be performed. For example, Type perferences can be represented
as an ordered sequence of bit sets, allowing object type negotiaion to be
performed with just mask and match, many orders of magnitude faster than
processing 1K of object headers. A properly designed protocol can also take
advantage of PER to indicate multiple options, such as request for headers only
and checkout locks in a regular and orthogonal way, vastly simplifying te
design.
Simon