They just wind their bodies around each other, and then try for a smack-down. It is kind of entertaining to watch. The winner is the stronger snake who can shove the other one down.

Considering the condition I find the bins in during breeding, it wouldn't surprise me if all the pooping and peeing is scent-marking behavior. That was my guess.