Base on http://mobile.tutsplus.com/tutorials/iphone/building-a-jabber-client-for-ios-interface-setup/ without ARC