Make sure we log last_ip for requests in main, attempt 2.

Skip rather than 500ing if there isn't a Cloudflare IP.