Changed send_complete to send_wait_complete in device/host proxy and added  timeout parameter. The plan is it will now allow poll-like waiting until a write is complete.
Added timeout to DeviceProxy receive_data function.