Common stale interface testing and switching
Common stale interface testing and switching

Three places used to test for lagging and switch.  Commonize the
code.  We test for lagging before autoconnect so lagging
diagnostics are output if not auto-connect.

Lagging diagnotics moved to server_is_lagging().

dashpay/electrum-dash,cryptapus/electrum-uno,kyuupichan/electrum,asfin/electrum,romanz/electrum,protonn/Electrum-Cash,wakiyamap/electrum-mona,dashpay/electrum-dash,pooler/electrum-ltc,imrehg/electrum,pknight007/electrum-vtc,molecular/electrum,fujicoin/electrum-fjc,FairCoinTeam/electrum-fair,cryptapus/electrum-uno,pknight007/electrum-vtc,imrehg/electrum,procrasti/electrum,digitalbitbox/electrum,pknight007/electrum-vtc,procrasti/electrum,aasiutin/electrum,romanz/electrum,neocogent/electrum,dabura667/electrum,romanz/electrum,cryptapus/electrum-uno,vertcoin/electrum-vtc,cryptapus/electrum,cryptapus/electrum-uno,procrasti/electrum,aasiutin/electrum,vertcoin/electrum-vtc,digitalbitbox/electrum,fireduck64/electrum,fujicoin/electrum-fjc,molecular/electrum,dashpay/electrum-dash,argentumproject/electrum-arg,digitalbitbox/electrum,aasiutin/electrum,asfin/electrum,wakiyamap/electrum-mona,lbryio/lbryum,spesmilo/electrum,protonn/Electrum-Cash,cryptapus/electrum-myr,procrasti/electrum,kyuupichan/electrum,molecular/electrum,argentumproject/electrum-arg,fyookball/electrum,protonn/Electrum-Cash,spesmilo/electrum,vertcoin/electrum-vtc,neocogent/electrum,aasiutin/electrum,FairCoinTeam/electrum-fair,vialectrum/vialectrum,pooler/electrum-ltc,dashpay/electrum-dash,dabura667/electrum,kyuupichan/electrum,wakiyamap/electrum-mona,spesmilo/electrum,imrehg/electrum,argentumproject/electrum-arg,fireduck64/electrum,fireduck64/electrum,pknight007/electrum-vtc,digitalbitbox/electrum,imrehg/electrum,asfin/electrum,wakiyamap/electrum-mona,vertcoin/electrum-vtc,cryptapus/electrum-myr,dabura667/electrum,cryptapus/electrum-myr,neocogent/electrum,fireduck64/electrum,FairCoinTeam/electrum-fair,cryptapus/electrum,fyookball/electrum,pooler/electrum-ltc,molecular/electrum,vialectrum/vialectrum,fujicoin/electrum-fjc,cryptapus/electrum-myr,cryptapus/electrum,dabura667/electrum,spesmilo/electrum,lbryio/lbryum,protonn/Electrum-Cash,argentumproject/electrum-arg,pooler/electrum-ltc,fyookball/electrum,vialectrum/vialectrum,FairCoinTeam/electrum-fair