allow to use ssl with py < 2.7.9