[TIMOB-17036] iOS: HTTPClient state machine fixes
Merge pull request #5775 from vishalduggal/timob-17036

[TIMOB-17036] iOS: HTTPClient state machine fixes