initial payload length cannot be larger than uint16