http://0wned.it/geek-bits/scripts/open-source-autodiscover-implementation-in-php/
https://technet.microsoft.com/en-us/library/cc511507.aspx#BKMK_OverviewOfCommonSettingsDiscover
https://github.com/cfoellmann/ISPC-resources/blob/master/guides/autodiscover/.htaccess