xmpp connection on raw socket api