Added a Response object to separately accumulate headers and responses.