Slight modifications to support HTTPS.

Cloudant support HTTPS, let's use it.
Merge pull request #23 from ooda/using-cloudant

Slight modifications to support HTTPS.