How do I modify the X-Forwarded-For header in Java?
<p>I'm using <code>URLConnection</code> to connect to a site. I used <code>System.getProperties()</code> to set the <code>proxyHost</code> and <code>proxyPort</code>, and <code>connection.setRequestProperty</code> to change the user-agent.   I haven't seen a way to change the X-Forwarded-For.</p>

<p>Can someone enlighten me?</p>

<p>Thanks!</p>
