Added proxy-error handler that return http-500. Unandled exception logs and exit process