removes unused _socketIsClosed method from websocket Server
inlines isConnected method to only place used in websocket Server
adds _isConnected flag to websocket Server and checks it before firing ConnectionLost