encoder.js :: implement encodeListHeader(cnt) & tests