function createCap (origin, target) {
  var token = generateToken()
  capabilities.push({
    owningOrigin: origin,
    token,
    target: parseTarget(target)
  })
  return `hyper://${token}.cap/`
}
@param {String} origin
@param {String} target
@returns {String}