See article Password protected archives can’t be blocked using Proxy AV which describes why the file is being served.
ICAP/1.0 500 Server error X-Error-Details: File is password protected; File: test.zip; Sub File: ; Vendor: Sophos, Plc.; Engine version: 3.61.0; Pattern version: 5.20.10071973.0; Pattern date: 2015/10/21 05:04:09 X-Error-Code: password_protected X-Apparent-Data-Types: TXT, ZIP Service: CAS 1.3.1.1(170722) Service-ID: avscanner ISTag: "561E3583" X-Scan-Progress: complete Encapsulated: null-body=0 Date: Wed, 21 Oct 2015 06:01:05 GMT