Implement tests for maximum global and idle time for incoming XFR

Ondřej Surý requested to merge 4014-tests-for-max-transfer--in into main

...tests...

Closes #4014

Edited by Ondřej Surý

Merge request reports