Replacing old tcpserver legacy code with stream configuration

Signed-off-by: José Luis Di Biase <josx@interorganic.com.ar>