Allow setting response content.

This is an initial check-in to allow content to be set to a string, byte
array or json.