Added disconnect handling and some very basic nick handling to websockets chat.
 Added disconnect handling and some very basic nick handling to socket.io chat.