Add a version of withNettyConfig() that takes an instance of a Provider