So the issue is this: when you carry out a form POST from Firefox, it disconnects any WebSocket connections that might exist.
WebKit and Chrome do not.
This feels like a bug to me. (Or at least, it should be brought in line with the behaviour of the other two browsers.)