Add client.quit() function

I added quit() function.
This is totally same as end().