Better HTTP protocol compliance under Squid

This commit solve content-length issue which was not HTTP specification compliant