Add option to auto-select the best mirror

[03:12:09] Selected mirror: http://distrohub.kyiv.ua/postmarketos/
[03:12:09] Change mirror? (y/n) [n]: y
[03:12:10] Download https://postmarketos.org/mirrors.json
[03:12:10] list of available mirrors:
[03:12:10] [1]	mirror.postmarketos.org (Falkenstein, Germany)
[03:12:10] [2]	postmarketos.craftyguy.net (Santa Clara, CA, USA)
[03:12:10] [3]	mirror.math.princeton.edu (Princeton, USA)
[03:12:10] [4]	mirrors.aliyun.com (Hangzhou, China)
[03:12:10] [5]	mirrors.tuna.tsinghua.edu.cn (Beijing, China)
[03:12:10] [6]	mirrors.bfsu.edu.cn (Beijing, China)
[03:12:10] [7]	mirrors.ustc.edu.cn (Anhui, China)
[03:12:10] [8]	mirror.nju.edu.cn (Nanjing, Jiangsu, China)
[03:12:10] [9]	alpine.sakamoto.pl (Warsaw, Poland)
[03:12:10] [10]	distrohub.kyiv.ua (Kyiv, Ukraine)
[03:12:10] choose 'best' to select the one closest to you
[03:12:10] Select a mirror [10]: best
[03:12:18] Best mirror was http://mirror.postmarketos.org/postmarketos/ with a latency of 73.54ms

I took the liberty to do a very minor refactor since mirror_indexes was always only a single-element list.

Merge request reports

Loading
Loading