Do not explicitly check X_FORWARDED_FOR

...since the magic remote_ip method already takes care of that.

https://github.com/rails/rails/blob/v3.0.19/actionpack/lib/action_dispatch/middleware/remote_ip.rb