Fixed Bug in client.py when no cert file is provided