Add HTTP status and headers to the RESTful reply