typo
as it turns out, heroke doesn't support websockets, so we are forced to use xhr polling. xhr-polling has completely different disconnect behaviours, like keeping the sockets connected for a while until timeouting. this unveilled a misbehaviour in our code, note beeing able to cope with multiple idents sharing sockets. So I refactored all the internal data structure and - bingo - here we are.
connecting message