This code (apart from the curProgress.xx = stuff) looks like a clone of TransferServer::sendProgress() ..
why did you not reuse? 

I'm not sure this is the correct place to send anyway..
@ghalliday - can you comment ?