Bug/2041

Add support for https on get_option('siteurl'). Potentially resolves #2041