make getHttpClient private to external classes