Refactored library.
Added tests.
Added documentation.
Added missing faye-websocket dependency in package.json
Updated the annotated source, removed unneeded argument
in the connect method, re-generated source.