Trying to fix secure content for get_media_url, previously would totally ignore settings.