python cllient changes according to troia-server changes