Improved receiveHandler/completeHandler checks:

- There are cases where desktop sets readyState to 0 after processing,
  so our rscHandler checks fail to fire completeHandler. Improved the
check to account for this scenario.