from http API to https API

Non-SSL API deprecated: 27 June 2014, 10:00 (PDT)
Merge pull request #275 from swmerko/patch-1

from http API to https API