Implement ClientFactory, based on Connection class