catch domain error
.
switch to socket.io
switch to socket.io
working websockets