change replay_request behaviour, refs #346; test upstream proxy mode