TLS: Fix missing optional intermediate cert error
Merge pull request #185 from Poorchop/tlsfix

TLS: Fix missing optional intermediate cert error