Support for server certificate order
More flexible libssl version parsing