implement the stats() method

I believe this is a reasonably complete implementation of the "stats" command, according to the protocol doc at https://github.com/memcached/memcached/blob/master/doc/protocol.txt.

I feel a little funny hijacking `_fetch_cmd` for this, but it saved a lot of code. Let me know if you'd like some refactoring done there.