Fix broken build due to python 2.7.9 httplib change