Fixed setHeader while Android had problems with stringstreams.
Merge pull request #2623 from zynga/XMLHttpRequest_cchttpclient

fixed #2092: Fixed setHeader while Android had problems with stringstreams.