The order is aimed at stripping away legal protections from social networks so they can be sued or punished for content their users post.