types: move ConnFactoryPtr in the types namespace (where it was before 281ba20)