Topic/http exceptions to logger

Optionally use psgix.logger rather than psgi.errors