Use set_url_scheme instead of a ternary with is_ssl when possible

As discussed here:
- https://github.com/Automattic/jetpack/issues/420#issuecomment-38580520