Sounds like a prolapse to me. I really don't know much about them. I think it May be infected. You May need to take your snake to the vets but wait for a pro to answer more on this. Your snake sounds very ill, this seems like it could be worse than a prolapse.