Did aculeate silk evolve as an antifouling material?

Did aculeate silk evolve as an antifouling material?