Display headers and request payload. Fixes #187.

Added request headers and request payload to output, if asked for in options. Adds test.

I couldn't figure out how to get 100% test coverage though, so this PR needs help with that.