Compress http data