Improved SSL Chain validation