Rewrite *ContextClientTestCase to use apache http client insted of URL