Remove code that move to the proxyclient
Add forgotten bracket
Add code moved from baseclient
Fix the name of the client on the __all__ param and fix logging