testsocket.py fails on some sites even when they are known to work via a browser. Need to sort the error handling so that certificate errors are noted but not seen the same as no connectitivy