pub fn add_pkt_line_string(pkt_line_stream: &mut BytesMut, buf_str: String)
Add a packet line string to the buffer with proper length prefix
This is the original simple implementation from ceres