Improve event handling.
Bug fix.
Add text-mode options to socket.
Add WrappedClient to allow for more complex clients.
Add helper functions getSocket and isWebSocket to ClientInterface.
Block possibility to listen to port 0.
Add linting.
Add ClientInterface.isClosed() and Server.isClosed().
Add ClientInterface.init() to allow for other more complex clients.
Add WrappedClient to allow wrapping a Client object.
Fix tests to consider member data attributes and other API changes
Add missing class access modifiers.
Update package lock to version 2.
Bump dependencies based on security advisory.
Implement ClientInterface and SocketFactoryInterface.
Make ErrorCallback type more specific.
Change onError callback signature (breaking).
Change class access modifiers from private to protected.
Add optional reconnect attempt in case of connection overflow.
Add isServer argument to checkConnectionsOverflow.
npm audit fix minimatch.
Refactor throw "..." to throw new Error("...")
Add SocketFactory + tests
Add VirtualServer class to complement VirtualClient
Implement getRemoteAddress, getRemotePort, getLocalPort, getLocalAddress for WSClient and VirtualClient
Add optional closeClients parameter to Server.close()
Improve self-signed cert generation script and add rejectUnauthorized tests
Add TLS connection test suites
Add TCP connection test suite covering IPv4 and IPv6 host validation
Add TCP connection test suite covering IPv4 and IPv6 host validation
Ensure WSClient IPv6 host gets surrounded with brackets during socketConnect
Verify and set default error message when ws.ErrorEvent is undefined
Audit npm packages version
Fix timing bug about unreferenced variable.
Add ByteSize class to await chunks of incoming data.
Add Client.unRead function to be able to put read data back into buffer.
Add configuration settings to allow direct import from node modules (npm)
Test suite added.
Wiki added.
Examples added.
README.md updated.
AbstractClient class refactored to Client and declared as abstract class.
AbstractServer class refactored to Server and declared as abstract class.
First release.