Use wifi in HTC Dream behind a proxy
Settings -&gt; Wireless and Network -&gt; WiFi Settings, hit the Menu button, and choose Advanced.

However, it appears this doesn't support user authentication. I can't find a solution online, either :(.  The question I marked as a duplicate may be of some assistance, though your version of Android may be too old for any of this.