Add initial XMPPConnect.
Fix a memory leak.