Fixed storing of status code, added storing of headers and contentType
Merge pull request #22 from jdevelop/headers

Fixed storing of status code, added storing of headers and contentType