added on_debug

Allows debug callback by connection instead of globally.  This allows, for instance, 2 different SOAP connections to have different logfiles for talking to different systems.