echo server using libev