Use packet_reader instead of packet_read_line