editor: support two-byte payload-len also