jersey: update gzip encoder to work with Jersey 2.x #780

Fix for issue #780 

Update ConfiguredGZipEncoder to work with Jersey 2.x which no longer allows setting headers via WriterInterceptor