Added bot example that uses OAuth2.
First attempt at XOAuth2 mechanism.
Added Example documentation.
Logging cleanup.
Needed to use authzid, not authcid.
Added host option.
Temporary stanza debugging for authentication failures.
Fixed double-encoding auth token mistake.
Revert "Temporary stanza debugging for authentication failures."

This reverts commit 68f9176dbdbf836373c1f17d1521c47760c8957c.
Fixed npm install error

The current version on npm does not install correctly. It fails on the
browserify command:

browserify -d -o node-xmpp-browser.js lib/node-xmpp-browserify.js

The error browserify gives is:

Error: Cannot find module: "JID" from directory

This is caused by an incorrect require in lib/node-xmpp-browserify.js
which I fixed in this commit.
sasl: rename Mechanism#attribs() to authAttrs()
package.json: contributors
Merge branch 'oauth'

Github pull request #85
Update README with new node-xmpp-bosh link
Fixed npm install error

The current version on npm does not install correctly. It fails on the
browserify command:

browserify -d -o node-xmpp-browser.js lib/node-xmpp-browserify.js

The error browserify gives is:

Error: Cannot find module: "JID" from directory

This is caused by an incorrect require in lib/node-xmpp-browserify.js
which I fixed in this commit.
Merge branch 'master' of https://github.com/eelcocramer/node-xmpp
Adds check if the opts variable exsists.
authAttrs should be a part of the Mechanism prototype
Adds me to the contributors
Do not inherit from connection but rather compose a connection object