X-country header returning incorrect code

Seems to be related to proxies according to this: