Alleged Toronto attacker has confirmed links to misogynistic online communities