Stickyproxy

Use the first online location if connected, else the first in the location list.