Remove x-forwarded-for when running in transparent mode

The x-forwarded-for header should not be sent when running in transparent mode to conceal the fact that users are behind a proxy.