only send amqp messages on kernel terminate
return proper http responses on POST/PUT
restrict api routes via Accept header