There's some sort of bug in parsing Encapsulated stuff
that causes 'exceptions.AttributeError: "str" object
has no attribute "group"' as referenced in
I believe this fixes it.
Eric C. Jensen
patch to icap_handler.py
Should find more robust way of parsing the header.