public Set<GoogleCookie> getCookies() {
// Lazy flushing of expired cookies
Iterator<GoogleCookie> cookieIter = cookies.iterator();
while (cookieIter.hasNext()) {
GoogleCookie cookie = cookieIter.next();
if (cookie.hasExpired()) {
cookieIter.remove();
}
}
return cookies;
}