Add cert chains, use SSLv23_METHOD for backwards compatibility