After months of political pressure, the European Commission has presented a formal proposal to prevent high gas prices.