HTTPResponse & Connection: expand API to allow custom content-types for non-file responses