working tranx simulator and passing to client console over ws