capture sent headers and pass them to Response
fixes #3 #1
Merge pull request #4 from mainlycode/headers

capture sent headers and pass them to Response