Allow passing in http client so it's possible to cleanly shut down without leaving behind non-daemon threads
Version