I don't see any visible signs of worms but that does not mean they are not present. I wonder if this is some type of mucous that may be coming from the immune response. Have you done any stool testing? (not that testing is foolproof btw). Possible that this may be bacterial or protozoa infection.