PeerConnection.prototype.have = function(pieceIndex) {
  return this.write((new Messages.Have()).init({
    pieceIndex : pieceIndex
  }));
};