updated xmpp platform to make use of the promises, and other necessary adjustments, still no unit test for it, so not sure if it's working at the moment
message renamed to send