The Judicial College has produced an online course to help judges and magistrates cope with the stress of dealing with the increasing number of disturbing sex and child abuse cases and the attacks they get on social media.