root_url does not know the right protocol in all contexts, some clients are strict when validating this.