Fix Mixed-mode http/https warnings