rework Apache redirect handler to proxy

This is about as much as is possible with ApacheClient since
AndroidHttpClient doesn't handle redirects. The implementation will function
if a DefaultHttpClient is used and a redirect handler is set before creating
the ApacheClient.