update trace and stat on ue socket / add shutdown debug command