(Issue #3722) Convert embedded links to https if possible when user is accessing via https