Proposed code of practice for online safety could include age verification of social media users