Fixed protocol issues with nonsecure content when retrieving via https.