try to fix python 2.6 compat for http proxy fix