Complex international network with 22mn subscribers stole and resold content from top streaming providers