add ext socket support
always enable ERROR print for diag client