This enables sending messages to partychat-like services (e.g. im.partych.at). This commit also fixes handling of 'to' argument for non-chatroom recipients.