Overrides the WebSocket class and hooks any new instance of a WebSocket to a window.socket reference
These are all versions of this script. Show only the versions where the code changed.