There are several kinds of parasitic worms that can "encapsulate" themselves, such as strongyloides and even some forms of tapeworm. It's hard to know what it was. Could have just been an infection that the Humaworm cleared up. Glad it's gone, though.