* Support older Mozilla WebSocket variants via MozWebSocket.
* Fix bug where WebSockets were instantiated using window rather than $wnd which does not work in all linkers.

Reported by By Ali Akhtar