Twitter aims to fight off security challenges by appointing the former hacker Pieter "Mudge" Zatko as its head of security.