Use https when Insecure is selected.

Insecure means "don't check certs" and can be renamed internally if we wanted.  If you ask for "don't check certs" but didn't specify a protocol, we assume you wanted https.


> On Nov 13, 2014, at 8:32 PM, Daniel Smith <notifications@github.com> wrote:
> 
> In pkg/client/helper_test.go:
> 
> > @@ -76,6 +76,13 @@ func TestIsConfigTransportSecure(t *testing.T) {
> >  			},
> >  			Secure: false,
> >  		},
> > +		{
> > +			Config: &Config{
> > +				Host:     "1.2.3.4:567",
> > +				Insecure: true,
> > +			},
> > +			Secure: true,
> I am super confused here-- this is testing that insecure doesn't do anything?
> 
> —
> Reply to this email directly or view it on GitHub.
>