Correctly compress/decompress HTTP

Fixes: https://bugs.eclipse.org/bugs/show_bug.cgi?id=420834