Restrict logging only to when debug=true.
When prebinding, attach automatically. Fixes #41

This requires that valid jid, rid, sid and bosh_service_url values be given (or
a valid connection object that was already attached).

Updated the docs to reflect these changes.