improved support for ssl (missed a url)