Fix HTTPS check for external hostings
Merge branch 'master' into devel