Refactoring HttpPathSpec to investigate about ways of creating a HttpPath