use compression from java client
Merge pull request #1221 from marcel-blonk/PLFM-2635

use compression from java client