implement compaction api
make HttpClient methods public