Updated closure patch and updated to latest revision
Start of test rewrite in mocha. Client tests rewritten
Added documentation of the xhr option
Added a comment discussing channelClosed when the channel was never open
Rewrote server tests into mocha
Moved test infrastructure to mocha