echo-server: read till eof.  allocate raw buffer