store: call callback on socket error.

Hello,
When a socket error happens during an STOR or APPE, this error doesn't seem to propagate to the callback passed to put() or append(). I believe a single call to cb should be added in the socket error handler. At least, it solves the issue I have at hand. 
Can you verify this?
Thanks.