Ssl

Adds a `#ssl` attr and conditionally uses the "https" protocol with the api.