Refactor jail network probe code

- Scan the complete range for first available address and use it. This
  allows gaps to be filled when IP addresses are no longer in use.

Ticket: 3313