(write_plaintext_packet): Fixed the detection of too