That looks like a very high quality shim, so that is good.
However, why would I want to use a shim over websockets?
However, why would I want to use a shim over websockets?
tl;dr websockets can fail in strange ways on mobile and when passed through proxies and corporate firewalls