rename tcper as iclient and change some TODOs