[Issue 9157] return additional error code information when OPT_X_TLS_NEWCTX fails