Add a switch to allow running in a pruned state

To avoid stalling the downloads of other peers, we disconnect those
who ask us for a block we don't have anymore.