code: public boolean shouldSkip(HttpHeaders headers) {
          return shouldSkip(headers.get(HttpHeaderNames.CONTENT_TYPE), headers.getInt(HttpHeaderNames.CONTENT_LENGTH));
      }
docs: Determines if encoding should occur based on the content type and length.
  
  @param headers The headers that contain the content type and length
  @return True if the content is compressible and larger than 1KB