add xsysreadcompletely
add xsyswritecompletely
cleanup
improve sendfile_to by using xsyswritecompletely, ok?