[DAEMON-66] appcd-http: Format responses based on the Accept header
DescriptionThe daemon will general return JSON formatted responses where the response is "data". When the response is a message or error, it's returned as a blob of text. It would be nice to pass along the Accept header so that handlers can coerce the response into a content type that the client prefers. Likewise with text responses and errors.