support https scheme in html popup fix #153