cleaned up the debug method in Client
updating cli to use sumologic.client module