Allow the node to run with history pruned.

To avoid stalling the downloads of other peers, we disconnect those
who ask us for a block we don't have anymore.
It was an assert in the original code. Maybe it should be changed, but I would left that for another pull, latter.