Allow for custom ui-defined responses

Allow the requester to define response headers with special request
headers.