Added compression for messages over http