Improve internet connection check with proxy
Merge pull request #2614 from eMerzh/fix_internet_check

Improve internet connection check with proxy