ServerSelector - changed algo for detection