Improved implementation of proxy support (system environment proxy)