Handle embedding when in HTTPS