CGE2: Rework EncryptedStream::readLine().