No need to use NioSocketChannel.class directly