take config.consider_all_requests_local into consideration (fixes #118)