http_parse_authenticate
if (http_parse_authenticate(p, &server_challenges) == 0)
if (http_parse_authenticate(p, &proxy_challenges) == 0)