Updated Client code for detecting throttling errors.

Previously SimpleWorkflow throttled requeqests were not getting
retried as the throtting error check assumed XML resposnes.