[library] Correct http client and update docs.