docs: function createChannel(url) {
    var parsed = URL.parse(url)
  
    if (parsed.protocol == "ws:")  return fromWebSocketURL(url)
    if (parsed.protocol == "wss:") return fromWebSocketURL(url)
  
    throw new Error("unhandleable url")
  }