use type=chat for messages ; also send messages to specific resource
fix line wrapping: if \n occurs, prefix before might also be > max_length
include status message in /info