Print detailed error message received.
Log the payload being sent to the server
Minor improvements in README
Remove unreachable code. Fix misnomer variable name.
Merge pull request #29 from mindprince/improvements

Misc improvements in logging, documentation etc.