You triggered him, he is probably depressed and unhappy in his life which is why he lashed out and said you have no friends and to kill yourself, he was projecting what he feels in himself.
Really I would just laugh at him, when you upset someone like that you've won, you've got to them.