SockJS: bugfixs