[Client][Stream] Fix max redirects with PHP < 5.3.4
Merge pull request #165 from egeloen/stream-max-redirects

[Client][Stream] Fix max redirects with PHP < 5.3.4