fixed TCPMessageHandler, now works with echo