some progress on redirecting http traffic to https