Added HTTPS support.

Added HTTPS support.