Support chatstates in both ways
Do not send an empty line at the start of each steam message
Do not add all oponents to the user’s roster
The messages’ bodies sent by the gateway start with a useless “\n”
Accept action="next" in the ad-hoc command, to go to the next step
Use a text-private ad-hoc field for the password