Added HTTPs configuration support.
Merge pull request #481 from dblock/https-support

Added HTTPs configuration support.