Added HTTP compression + tests

Please review and merge if okay.