Character encoding of response body.

When writing Strings to the response body, encode then using either
the character encoding specified in the content-type header, if
present, or with UTF-8 otherwise.
Merge pull request #1 from RallySoftware/encoding

Character encoding of response body.