docs: function multiaddrFromUri (uriStr, opts) {
    opts = opts || {}
    const defaultDnsType = opts.defaultDnsType || 'dns4'
    const { scheme, hostname, port } = parseUri(uriStr)
    const parts = [
      tupleForHostname(hostname, defaultDnsType),
      tupleForPort(port, scheme),
      tupleForScheme(scheme)
    ]
    const multiaddrStr = '/' + parts
      .filter(x => !!x)
      .reduce((a, b) => a.concat(b))
      .join('/')
  
    return Multiaddr(multiaddrStr)
  }