Simplify Response->flushHeaders().
Fix missing variable error.