Add AsHttps ext method to replace absolute urls to https:// and added EnsureHttps to redirect to https if not already