Use SSL and list of CAs from 'certifi' to verify websocket (wss) connections. On MacOS in particular, connection failed with the following error: "ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate"