required include unistd.h and socket_read/write definition
bugfix
working echo server!
few improvements