implement automatic apache mirror selection. It tries to find a mirror close to you, otherwise will use a mirror in the US