fixes to ICAP parsing
Merge pull request #12 from david-farrar/master

fixes to ICAP parsing