base tcp server, receive any string and then send back