Added DIRECT statement at end of proxy list.
fixed issue with string.format and python 2.6