main/squid: fix CVE-2014-6270, CVE-2014-7141 and CVE-2014-7142

fixes #3390