Update main.html

Added SHA2 support on line 78. Tested successfully against my company's ZNC server. This is my first ever pull request- sorry if I'm doing it wrong.