start refactoring jabber gateway
fix (acknowledgement) duration passing bug