Fix to work behind a http proxy.

getRedirect function was using httlib. Now based on urllib2,
which features proxy auto-detection.