Use HTTP_X_FORWARDED_FOR if availiable.