adding private _debug method and option

Using console.log causes the send request to always be logged.  It would be nice to have a 'debug' option to enable and disable the logging.

Right now I set it to default to false, but that could be easily changed.

Let me know what you think.