a simple node sockets demo