Raised at https://github.com/flutter/devtools/issues/1469. Our workaround assumes the incoming URI is always `ws` or `wss` which is not true, it can be `http` and `https`.