Hi Tim and welcome aboard.
Without looking into the details of XSTM and knowing a bit more about
your requirements and the services you are interacting with it would
be hard to make any assumptions. From a cursory glance at the docs it
looks like it would do what you need but may be difficult to integrate
with XUL.
Tell us more about your requirements and environment perhaps we can
point you in the right direction.