Ensure certificate callbacks work correctly in TLSv1.3