Updated to support pages using HTTPS using googleapis

Created as per ticket: #4726