add proxy support

add proxy support for urllib2 and wget