Changed the way the Memcache Client handles errors and timeouts.

Added a ping timeout to the Memcache Client.
The Couchbase Client now gets notified about Memcache Client timeouts and tries to connect to another stream (if needed).
Added error and timeout handlers for the Couchbase Client; it will now try to connect to another host when one fails.