Removed redirect code, obsolete
Library clean up
The request module is obsolete
White-space cleanup
Never use file: as protocol
Added AMD and CommonJS support
Added requirejs example
Added jQuery-like events binding
Improved WebSocket binary detection
Added property "extensions". Currently empty
Added property "protocol". Currently empty string
Added property "bufferedAmount" for supported transports
id => ptr
Method `destroy` is obsolete
Added support for "auto" transport
Ignore number as first argument in method close.

WebSocket compatibility issue