Plans unveiled on Wednesday will see 16 and 17-year-olds prevented from accessing social media sites between midnight and 6am by default.