Ofgem is to be ‘transformed’ to strengthen consumer protection under the first major update to its scope since it was founded in 2000.