jersey client: only add gzip encoding header if there is an entity to send