fixed callback in protocol.js/requestPiece