fix bug when the proxy type is http
Merge remote-tracking branch 'origin/master'