Added echo server with number of messages in the protocol