implementing partial socket-xmpp protocol