Improve error checking around usbmuxd_get_result()
Properly handle segmented send/receive situations