Allow custom TProtocolFactory on client