SchemeRegistry schemeRegistry = new SchemeRegistry();
schemeRegistry.register(new Scheme("https", SSLSocketFactory.getSocketFactory(), PORT));
ThreadSafeClientConnManager connManager = new ThreadSafeClientConnManager(params, schemeRegistry);
this.httpClient = new OAuthHttpClient(connManager, params);
this.httpClient.addRequestInterceptor(new SimpleGeoHttpRequestInterceptor());
this.httpClient.setRedirectHandler(new SimpleGeoRedirectHandler());
this.threadExecutor = new RequestThreadPoolExecutor("SimpleGeoClient");
endpoints.put("features", "1.2/places/%s.json");
endpoints.put("annotations", "1.0/features/%s/annotations.json");