$agent->get($URL); $agent->credentials("$host:80","$URL",$user,$pass);