command/agent: add command line configuration for replayonjoin
command/agent: document replayonjoin configuration