http.client: few more fixes.