Added ping thread, which tests connection to a client every minute.
Added support to client disconnection - a method that is fired by the
client class when it thinks it lost connection AND when client issues a
QUIT command.