Jacek Caban : wininet: Moved critical section locking to get_cookie callers so that cookie_set_t is also protected.