refactoring lib for ch.boye.httpclientandroidlib