Correctly compress/decompress HTTP