Fixes issue with ignored inline certs

passing a cert inline with the tls_cert: option failed to recognize the cert. My guess, this isn't turned up by tests because certificate parsing is disabled in the test suite. I wasn't able to get the tests running locally, so I'll leave that bit to the maintainer.