SSL(HTTPS) support.
added example code.