Improve exception trace in SSL errors.