[refactoring] Move generic extension repository http tools in its own module