[PATCH 1/3] lnst.Tests.TRex Refactor TRex client and server