[FIX] Stream: added non-const char * write()
Merge pull request #599 from esiragusa/fix/stream/chunking

[FIX] Stream: added non-const char * write()