add VERBOSE logs, fix HTTPS bug