Fix protocol encode/decode error that prevented 2.6 DB to work with 2.4 data.