HTTPS clone URL

Subversion checkout URL

Change the init and close code so that the async __flash.create() task
is cancelled in close() so that you can do something like this which
tests whether the newer binary API exists:
var wstest = new WebSocket('ws://localhost:57111');
if (typeof(wstest.binaryType) !== "undefined") {
...
}
wstest.close();
wstest = null;
Without the change, a Flash error occurs later when the connect fails
(because the close() call doesn't cancel the connect).