decide which mirror to choose locally and display result

closes #3904
Merge pull request #4843 from Mailaender/local-mirrors

Moved mirror selection to the client