Fixing library so that if you try to include it a browserify package, it will not fail.  There is no fallback shim to make the WebSocket-Node API work in the browser, however.