added force_exceptions config variable to force raising exceptions in any case even if they are HTTP ones.