fix some files mode bug 755->644
implement MultiTransferException::getExceptionForFailedRequest($req) to identify which exception caused which request to fail
implement CommandTransferException::getExceptionForFailedCommand($command) to identify which exception caused which command to fail
Fixing file open mode in stream test
Merge remote-tracking branch 'muhqu/pulls/exception-for-command' into exception_command
Tidying up the exception updates
Merge pull request #391 from bronze1man/pr-file-mode

fix some files mode bug 755->644 on master branch
Replace undefined function canCache with canCacheRequest

Probably a bug from previous refactoring, just caught it as I tried to override only the response can cache mechanism.
Merge pull request #397 from inssein/patch-1

Replace undefined function canCache with canCacheRequest
Fix #399
Updates LogPlugin to use Protected for $logAdapter

Changes $logAdapter in the LogPlugin from private to protected. This
makes it easier for people to extend from LogPlugin to make any needed
customizations and still have access to $logAdapter. Without this
change, if someone wanted to use $logAdapter, they will need to
duplicate the entire class instead of extending.
Merge pull request #401 from janiv/protectedLogAdapter

Updates LogPlugin to use Protected for $logAdapter
Merge remote-tracking branch 'thinkscape/hotfix/additional-parameters-cleanup'
Using already populated variable
Removing unused use
Fix fatal error in RequestMediator::writeResponseBody() when malformed response is recieved

https://github.com/guzzle/guzzle/issues/408
Visit children who have xmlAttribue first when building up xml
Minor tweak
Merge remote-tracking branch 'natmchugh/check-childen-have-attribues'
Tweak