NSHTTPCookie: correct error handling