Support reverse proxies for cidr access. #111

New setting LOCALSHOP_USE_PROXIED_IP which enables using a X-Forwarded-For
header rather than REMOTE_ADDR for IP-based permission checks.