ws out, socket.io and xmldoc in