Handle empty http proxy

[merge]