added proxy environment variable support
add proxy support