Javadoc
Given a list of protocols available to the JVM that we can serve up to the client, partition
this list into two groups: a group of protocols we can serve and a group where we can't. This
list takes into account protocols that may have been disabled at the JVM level, and also
protocols that the user explicitly wants to include / exclude. The exclude list (blacklist)
is stronger than include list (whitelist), so a protocol that is in both lists will be
excluded. Other than the initial list of available protocols, the other lists are patterns,
such that one can exclude all SSL protocols with a single exclude entry of "SSL.*". This
function will handle both cipher suites and protocols, but for the sake of conciseness, this
documentation only talks about protocols. This implementation is a slimmed down version from
jetty:
https://github.com/eclipse/jetty.project/blob/93a8afcc6bd1a6e0af7bd9f967c97ae1bc3eb718/jetty-util/src/main/java/org/eclipse/jetty/util/ssl/SslSelectionDump.java