Africa's largest democracy is considering laws that would impose a death by hanging penalty for hate speech, but there are fears the legislation would be used to censor the media and halt freedom of expression.