SSL is a nightmare to debug