Adds a page record option to enforce HTTP/HTTPS access. Current page connection status is checked through server port and environment vars, and an appropriate HTTP or HTTPS request is forced. Handles redirects to same domain, different subdomain, and even