Fixed code to new API. Not tested yet, but compiles successfully
init empty buffer for multi-echo-server
Set uvcat write length to read count
Remove empty conditional