renamed ssl() to upgradeToSsl()