Fixed setHeader while Android had problems with stringstreams.

HI,

Android did not work reliable with string stream for header concatenation. We've changed it to be sure XMLHttpRequest works cross plattform.