Add optional support for github-windows and smartgit protocol handlers