tests and code changes for interoperability with Odex.
Do not remove line feeds from text transmissions and fix compression
algorithm