torrent: fixed sending of extended messages with data appendix (e.g. metadata)
torrent: move check if piece should be fetched to SendDataRequest(p)

This fixes a problem when some blocks could be requested multiple times.