Add quit command and fix PONG message.