Limit per command cache flush to non-memcache conf

Bug introduced in 95d55f571ccf99e6e5bb018c5b22a7f96aabbc4e.
Error handler for socket.error exceptions

FTPHandler/AsyncChat classes are not handling all socket.error and the default
handler is too verbose (ie. unhandled exception in instance etc).