The only proxy running here is squid as cache on a local host, so the HTTP_X_FORWARD_FOR headers = 127.0.0.1.
If your going to try and detect proxies, do it right please. I won't disable my cache for you. Although, your running Xam's source, so you probably have no idea what I'm talking about.