Small bugfixes for errno (since memcached_quit_server() modifies errno)