bugfix: outsockcache not pass err when fetch from idmap fail; newfeature: add tgn(), thread group namep