httpclient: ptreeHasChild made public, and some changes that should have been committed before, I think.