force https

A partial fix to allow the app to force https.