fix client.py to use tls appropriately
Merge pull request #158 from zenoss/feature/tlsbugfix

fix client.py to use tls appropriately