detects and handles when the client tells the server it is closing the socket.
detects and handles when the client tells the server it is closing the socket.

miksago/node-websocket-server,jasoner/node-websocket-server,nephics/node-websocket-server,remy/node-websocket-server,jasoner/node-websocket-server