scripts/relay: fix relays, clean formatting

Relays were not working due to canonization changes. That has been
resolved, now.

Messages now also include channel names. Original (non-canonized) names
are used when provided by the server.

Thanks to bairsooley for reporting issues and helping with this.