Fixed typo and added response for QUIT command