Install wget if it's not already there

In addition, don't try to set the wget proxy
until it's installed.

Change-Id: Ibd01939264a2ce1fd9fa36ff10de0785c6722025
Merge "Install wget if it's not already there"