IrcMessage::fromCommand() -> IrcCommand::toMessage() for QML compat