Just to answer this:
This is a problem with the ApacheConnector, which will always return -1 for the size of the content, ensuring this value is never set. (This is hardcoded in the getHttpEntity method)
Therefore, if the content-length header is required, one either has to reimplement the ApacheConnector as described here or use a different connector.
I have reported this on the Jersey jira.