Tcp REST control