Fix crash when using SSL in cinder