Initial commit of debug logic
Improved debug logging of response
Merge pull request #41 from jonathanchrisp/debug

Added debug logging which can be enabled my client option on initialisation