release-19.4:Backport!3034

Merged Andrey Vertiprahov requested to merge cherry-pick-9a529311 into release-19.4

Fix TypeError on http client when working over proxy.

See merge request !3034 (merged)

(cherry picked from commit 9a529311)

1f3e986e Fix TypeError on http client when working over proxy.

Merge request reports