Added 'QUIT' command support.