title: Proxy for SWT browser
body: <p>I am writing an SWT application, and I need to proxy http requests from SWT browser to the outside world (in order to fiddle with data that comes back).</p>
  
  <p>The first thing I thought of was using a web proxy. <a href="http://www.eclipse.org/swt/faq.php#browserproxy" rel="nofollow">Boom</a>.</p>
  
  <blockquote>
    <p>All Browser instances automatically use Windows' or OS X's
    global proxy settings.</p>
  </blockquote>
  
  <p>When googling for alternatives I found <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=82295" rel="nofollow">this thread</a>. They have some Mozilla-specific workarounds that are using <code>nsIServiceManager</code> dark magic, and I tend to think there have to be much more sane (and cross-browser) way to do that.</p>
  
  <p>Also, I don‘t need a full-fledged web proxy. Just about any technique to intercept http request and change its response would be just fine. (Without an overkill of setting up system-wide proxy, that is.)</p>
  
  <p>Any ideas?</p>