ping & quit supported
Merge pull request #255 from idning/ping_quit

ping & quit supported