extend mock http client static method to be passed an http entity.  also give ability to record number of times consumeContent called back on entity.