add logic to retrieve server certs (+chain) from SSL_CTX
Now we have code to properly handle server certs/chains without worrying about exactly how they were configured.