Open the url in the popup window, and create a connection to it. Same-origin and cross-origin are both supported and the differences are handled internally.

The other end should connect to this window using wxWindowOwner.

This will fail if called when globalThis is not a Window.