Rename IPROTO_HEADER -> XROW.

Drop redundant enums for IOVMAX.
Better names for message encode/decode functions.