Changing piecedb interface
Don't read messages from peers we've disconnected
Fixed nasty calloc(0