The buildup to Election Day has been marred by widespread internet outages and social media going dark.