Wrapped ensureCookieManager() with API>8 on the Basic HTTP Client library.
See http://code.google.com/p/basic-http-client/issues/detail?id=8 for more details.