url2host
if ((host = url2host(addr, &port, &path)) == NULL)
host = url2host(st->val, &port, &path);
if ((host = url2host(c->newnonce, &port, &path)) == NULL)
if ((host = url2host(addr, &port, &path)) == NULL) {
if ((host = url2host(request->url, &port, &path)) == NULL)