[Azoth Xoox] Reverse messages only if required in XEP-0313.
[Azoth] Moved magic number to a constant.