docs: function createURI(spec, originCharset, baseURI)
  {
    let iosvc = Cc["@mozilla.org/network/io-service;1"].
                getService(Ci.nsIIOService);
  
    return iosvc.newURI(spec, originCharset, baseURI);
  }