added a Stream method to responseWriter
close request body
update context test to support closing the request body