Personally I would not ever think to put any of my animals in harms way.
Trying to "socialize" your snake with another pet isn't the best thing to do when you do not know how either animal is going to react.
Yes there are people that try/do it but your snake will lose a fight that may happen faster than you think you could react.