Add custom domain support and use http(s) or not

By default, use S3 with https will get warning from browser.