Renaming xmpp object to client.
Ensuring double disconnect don't die.
Stubs for loading and setting up clients.