sed_https(): Update the last https header after running sed()