calculate_ip()
Instance Public methods
Sort through the various IP address headers, looking for the IP most likely
to be the address of the actual remote client making this request.
REMOTE_ADDR will be correct if the request is made directly against the
Ruby process, on e.g. Heroku. When the request is proxied by another server
like HAProxy or Nginx, the IP address that made the original request will
be put in an X-Forwarded-For header. If there are multiple proxies, that
header ma