add fix for Exception in thread "main" javax.net.ssl.SSLHandshakeException
add https to url check