Proxy support for S3 & API

Change-Id: Iba6069cff72ffbcec3df8132c2496e45c5470c6d