added cname
update connect mode checks
Merge pull request #2 from MediaBrowser/master

Master