Fix a bug regarding SSL interface causing SIGSEG
This hopefully fixes #86