[PATCH] add settings handling to retrace client part1