fix declaration of rewritten request header as a response header
fix names for clarity
remove leftover argument in defintion of doICAP() and return a defer response instead of None when we successfully write to a child process