extract common base class from ServletRestChannel and AsyncServletRestChannel
pass on repsonse's RestStatus as HTTP status
format