Handle exception in brookfclhttpappbroker so that HTTP 404/500 pages and stack trace can be served as response