"Anyone engaging in business as a dealer and trader in secondhand bicycles, junk, metals, or other secondhand articles in any town, city or borough shall make application to the selectmen of the town, the mayor or chief of police of the city, or the warden of such borough for a license to transact business within the town, city, or borough limits." . . . .