title: Android - HttpClient and multi-threading
body: <p>I have an application that uses apache's HttpClient to get websites. It has 2 threads - UI thread (where user can order downloading a subpage) and other that every x seconds refreshes main page by downloading it with use of HttpPost. 
  It appears that there is some synchronization problem(query started ends immediately with socket error), when during reloading user starts a download of another page (I use the same DefaultHttpClient for both queries). Important thing is that the page requires cookies (user has its session).
  My question is:
  Should I use one HttpClient and queue of queries not to let them happen in the same moment?
  Or maybe each thread should have it's own HttpClient and they should have common context?
  Or there is any other way that eliminates this error?</p>
  
  <p>I also want to ask if you know a faster HTML parser than JSoup. It is pretty fast, I agree, but maybe there's something better?</p>