public final class SelectorOptimizer
The SelectorOptimizer optimizes the Selector so less litter is being created.
The Selector uses a HashSet, but this creates an object for every add of a
selection key. With this SelectorOptimizer a SelectionKeysSet, which contains
an array, is being used since every key is going to be inserted only once.
This trick comes from Netty.