Support multiple remote artifact caches.

If the spec is url1|url2|url3|... then
we'll ping all of them in parallel and choose the
one with the shortest ping time.