fixes NetworkIoInterface recv and send bug