example connection with sockjs