[9.18] Implement maximum global and idle time for incoming XFR
After the dns_xfrin was changed to use network manager, the maximum global (max-transfer-time-in) and idle (max-transfer-idle-in) times for incoming transfers were turned inoperational because of missing implementation.
Restore this functionality by implementing the timers for the incoming transfers.
(cherry picked from commit d2377f8e)
Closes #4004 (closed)
Backport of !7810 (merged)
Edited by Ondřej Surý