workaround missing _tunnel_host attr in python 2.6

Adds the same workaround as on line 175, which allows this lib to work on python2.6