NSHTTPCookie: better compatibility with Apple's implementation