site_url is not honoring scheme

What is original link?

var_dump( get_option('siteurl') );

If I am interpreting code right then for http protocol argument action is to not change the link. So if you have set up URL to be secure by default then function doesn’t override that.