Update SDK to use SSL when appropriate.
Merge pull request #15 from otang/ssl

Update SDK to use SSL when appropriate.