Allow proxy configs in android setup
Allow proxy configs in android setup

Summary:
In preparation top run this in legocastle, allow proxy configuration and use
either wget or curl (the former is only available in lego, the latter in
CircleCI).

Reviewed By: IanChilds

Differential Revision: D5035844

fbshipit-source-id: c833f3fec66a5e2e309b65513fe08cb2fd2a7ef3

facebook/litho,facebook/litho,facebook/litho,facebook/litho,facebook/litho,facebook/litho