Try to support https.