// fallback
for (SpdyVersion version : SUPPORTED_SPDY_VERSIONS) {
final String versionDef = version.toString();
if (protocols.contains(versionDef)) {
GrizzlyAsyncHttpProvider.LOGGER.info("ProtocolSelector::selecting: " + versionDef);
SSLConnectionContext sslCtx = SSLUtils.getSslConnectionContext(connection);
sslCtx.setNewConnectionFilterChain(spdyFilterChain);
final SpdySession spdySession =
version.newSession(connection, false, spdyHandlerFilter);
spdySession.setLocalStreamWindowSize(spdyHandlerFilter.getInitialWindowSize());
spdySession.setLocalMaxConcurrentStreams(spdyHandlerFilter.getMaxConcurrentStreams());