Extract http params configuration method so we can override it

Extracted method
protected HttpParams configureHttpParams() 
so that it can be overriden by the user application.

the AndroidHttpClient could then be refactored as well to avoid code duplication.

The new unit test shows how this PR can be usefull.