Remove use of deprecated wfIsConfiguredProxy()

Change-Id: Id393f273b86f88d12d13950481882791224540b4