[client] Add http transfer manager and implement check head commit.