Add support for http/https proxy

Change-Id: If1505801a6da9adc9dbbddaa16c05a3f4579f8a3