Validate request protocol, so we only allow https? traffic.
Validate request protocol, so we only allow https? traffic.

Test: Ran local tests.
Change-Id: Ib929998556acf9914dcbf8f65c2dfc5d447e8179

AndroidX/androidx,androidx/androidx,androidx/androidx,androidx/androidx,androidx/androidx,AndroidX/androidx,androidx/androidx,AndroidX/androidx,AndroidX/androidx,AndroidX/androidx,AndroidX/androidx,androidx/androidx,AndroidX/androidx,androidx/androidx,AndroidX/androidx,AndroidX/androidx,androidx/androidx,androidx/androidx,androidx/androidx,AndroidX/androidx