change client to use TCP_NODELAY instead of flushing the output stream