modify sslctx:set_verify() to optimizing callback for certificate chain verify.