when destructor, the WebSocket will invoke WebSocket::Delegate's onClose function, so WebSocket must be destructor before WebSocket::Delegate
Merge pull request #119 from htlxyz/v3quick

when destructor, the WebSocket will invoke WebSocket::Delegate's onClose...