http_resolv
if (http_resolv(&conn->res0, proxy.proxyhost,
if (http_resolv(&conn->res0, conn->host, conn->port) == -1) {