On Fri, 5 Jun 2009, Steven Edwards wrote: [...]
Right off the bat I'd say the variables need to go.
One possible exception is if the environment variables are the standard way to configure SOCKS support on Linux. Then Wine should respond to the same variables to activate its own SOCKS support (if it has to implement SOCKS support itself).