Client socket disconnect.

Provides the `disconnect()` method for client sockets. This is needed for inetCatapult/shortwave#122.