Add -debugResp flag for logging responses

This will log all responses (including nil objects). I'm using this to debug
some broken tests, which appear to have the wrong response headers. It's
quite noisy though so you wouldn't want to use it all the time.