[MOD-1706] Do not send redirect callback if not redirecting

Fixes in APSHTTPClient for [MOD-1706](https://jira.appcelerator.org/browse/MOD-1706)