HTTPS version of libDefer