[TIMOB-17327]: Add ceiling and floor to httpClient's onDataStream progress

https://jira.appcelerator.org/browse/TIMOB-17327

#6364 + floor

Why it's default to 1 when the calculated progress is invalid in "onsendstream", but default to -1 in "ondatastream"?