pub fn encode_lp_with_headers(fragment: &[u8], headers: &LpHeaders) -> Bytes
Encode an LpPacket with optional header fields.
LP header fields are written in increasing TLV-TYPE order as required by the spec.