add response wrapper + simple mechanism to ensure safe close handling fo...

...r writer vs outputstream
I'm wondering if it would be save/desired to put an `@volatile` annotation on this guy. It may not be needed given the definition of response functions.