Introduced an option to redirect http to https.