[Fixes #1183] Response uses chunked encoding when returning a string

/cc: @harshgMSFT @Tratcher @yishaigalatzer 

Just FYI...before my current changes following was the behavior when a string data was returned:
- Helios : chunked response
- WebListener : non-chunked response
I think @Tratcher 's approach works well.