Added fields required for relx release.
Fixed a bug in parsing payload lengths >= 29 bytes.