Fixed typo
Merge pull request #160 from pborreli/patch-1

Fixed typo
Merge pull request #159 from pborreli/typos

Fixed typos
wip nonce needs microtime to be unique
polish and clean up of OauthPlugin
tests passing but marked one incomplete as it lacks a robust assertion
fix tests that were troublesome for some reason
Adding missing docblock
Updating changelog and version
Update src/Guzzle/Plugin/Cookie/CookieJar/ArrayCookieJar.php

Bug fixed: certain cookie updates were handled incorrectly

Previously, changing the value of a cookie and at the same time a non-identity attribute (e.g. the security flag) resulted in storing the cookie twice. However RFC6265, Section 5.3., Item 11 states, that the old cookie must be replaced.
Fixed bug: domain, name and value may be 0

Added nonEmpty() private method to ArrayCookieJar to check for (theoretically) valid values of a cookies domain, name or value. Not sure, if such validation should be placed somewhere else..

Do not use PHP's empty() instead, since empty(0)==true but 0 is a valid value!
Test cases for cookies with value=0 as well as updated value + parameter
Merge pull request #163 from fogs/patch-2

Update src/Guzzle/Plugin/Cookie/CookieJar/ArrayCookieJar.php
Fixed PSR-2 compliance of previous changes
Fixing cookie header. Closes #166
Merge branch 'master' of github.com:guzzle/guzzle
Merge remote-tracking branch 'fogs/master'
Not allowing empty name or domain. Cleaning up tests.
Adding a static method to Stream to create a hash of a stream. Deprecating static method to create md5 of entity body.
Enhanced validity checking for cookies

This patch refactors the validity checking of a cookie from ArrayCookieJar::add() to a dedicated method in Cookie, where it should better belong to. Also, the check for a valid cookie name now includes RFC compliance with regards to control characters.

PHPUnitTest cases were extended accordingly.