nearly finished echo server