as a pupa first dissolves into a potent fluid , miraculously reforming within its embracing cocoon , teleklos transformed immeasurably , growing serpent-like through a rapid series of shedding and changing of skins .