Soft redirect from http to https