add http client counter for debugging and statistics
add atomic counter, for debugging and statistics