add tcp server, but doesn't work with netcat yet