presto-thrift/src/main/java/io/prestosql/plugin/thrift/ThriftPluginInfo.java/ThriftPluginInfo/getModule
class ThriftPluginInfo:    public Module getModule()
    {
        return binder -> {
            binder.bind(ThriftHeaderProvider.class).to(DefaultThriftHeaderProvider.class).in(SINGLETON);
            driftClientBinder(binder)
                    .bindDriftClient(PrestoThriftService.class)
                    .withAddressSelector(extendedSimpleAddressSelector());
        };
    }