MOD: add & replace command error when the item has or hasn't expired.
FIX BUG, as client close the connection, server should free client as well.
Merge pull request #19 from git-hulk/client_close_bug

Fix bug when client close connection