script/relay: add debug output, no more prefix on quit