support HTTPs for Discourse API.
not all changes were pushed for some reason..
indent.,
Merge pull request #3 from kaltura/https_support

support HTTPs for Discourse API.