add config cb and app when create sockets to propagate all kinds of config info