guzzle/guzzle — pull request #378 by andyhu (2013-07-13 11:03:28+00:00)
Title: #377 fix the issue in matchDomain method

Let's say in the Cookie object, the cookie domain is google.com, if the mathing domain is www.google.com, it should be matched. But currently it won't match it.
Please refer to the RFC document http://tools.ietf.org/html/rfc6265#section-5.1.3
Now in this fix matchDomain method should work exactly as described in rfc 6265