Following my above comment, if my script works with http, then what is the problem with https, even when I change the ProxyHandler to specify https?