This allows the user to set trusted ips to Cloudflare or some other CDN and have the logs have the correct IPs. fixes #801