Code fixes
Better HTTPS redirect for Azure websites