Fix SSL

The way things are instantiated, Api would finalize an unsecure Baseapiurl before you got a chance to set Client.secure = true. I made Baseapiurl dynamic so Client.Secure will be honored. I also defaulted Client.secure to true, which I think is reasonable.