avoid calling ssl alpn function twice (#24096)
avoid calling ssl alpn function twice (#24096)

Commit Message: avoid calling ssl alpn function twice
Additional Description: To determine the next protocol, this calls SSL's alpn function twice. This PR avoids that.
Risk Level: Low
Testing: Existing tests
Docs Changes: N/a
Release Notes: N/a
envoyproxy/envoy,envoyproxy/envoy,envoyproxy/envoy,envoyproxy/envoy,envoyproxy/envoy,envoyproxy/envoy,envoyproxy/envoy,envoyproxy/envoy,envoyproxy/envoy,envoyproxy/envoy,envoyproxy/envoy,envoyproxy/envoy