hwinkler/web-socket-js
See branch headers-parameter for my changes to gimite's original, to support passing arbitrary HTML headers to the web socket handshake. You can use this parameter to pass Authorization or Cookie headers, for example.
ActionScript