Add better sent/recv debeug messages
Better error message for wrong content-type
Show the response if the return type is invalid
Merge pull request #1 from scottchiefbaker/master

Add some better error reporting and debug messages