// This may be slow if we have to preload BitSetEncoding charsets.
this.encodingManager = new EncodingManager();
protocolBuilder = new NamedProtocolBuilder();
// Register the known protocols with the builder.
ProtocolRegistry registry = new ProtocolRegistry();
registry.register(protocolBuilder);
}