basic socket.io
solved re-connection problem with Socket.IO