add back support for conditional GZip encoding of entities being sent in dropwizard-client, which was taken out before