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