Optionally specify target destination from CLI
Change action at end of replay to QUIT rather than STOP. This prevents dead connections from accumulating on the server.