appserver: echo server implemented