Yep he loves wireseven when I take him out of his enclosure if he sees wires he heads straight for them!
I'm thinking of maybe using some clay or something to block the gap between the wire and the top of the enclosure.
My BP does same thing your rat snake did - he also likes to thread himself through belt loops and he strangely seems to have no concept of how wide his body is because he will keep going through a belt loop until he gets stuck. I've already had to cut a belt loop because of this and now I know to watch him like a hawk and keep any closed loops including mug handles away from him.