Has anyone else struggled with the two incompatible implementations of WebSocket in dart:html and dart:io?

I'm attempting to write a browser/vm implementation of a Socket you can use with +Yehor Lvivski's awesome start project on pub, but am having to do all sorts of hand waving to make a similar API work in both places. 

Here's the +Dart but where this is discussed further:


And here's the pull request where I'm struggling with making sockets work gracefully in both browser and vm:

Shared publiclyView activity