Added the ability to force SSL connection.