Wow, I wonder how. Presumably they could have encoded a watermark into the text by changing out synonyms. All you'd need is 15 words with two possible synonyms.
...Or, more simply, they probably used packet sniffing/similar?
...Or, more simply, they probably used packet sniffing/similar?