simplified sslify structure and removed debug conditional