Randomise the list of hosts, so that if there is more than one, ensure that a
random one is tried if a host goes down.