Get the right IP from HTTP_X_FORWARDED_FOR