update identity to emulate chrome.socket and pull in node-xmpp library