Sorry, I misread the configuration.
I'm not sure I can help much without the traffic logs. What requests got sent? What were the replies?
My guess is that for some reason Strophe.
js is doing an extra send after the disconnect is done, which will generate a 404. If that's the case it may be a bug, but you should be able to safely ignore it.