reset cache connection to nil, if err isio.EOF

* this will support auto-connection
align memcache operations with redis
Merge pull request #454 from pengfei-xue/develop

support redis cache auto connection