Changed the Server class's 'disconnect' function to use 'shutdown' instead of 'close' when disconnecting a client. This should force both directions of the connection to close.
Changed the Server and Client class's 'disconnect' functions to use 'shutdown' instead of 'close' when disconnecting. This should force both directions of the connection to close.