Use version-dot-appid instead of version.appid in hostname

For https access, the url's must use '-dot-' instead of '.' (see https://developers.google.com/appengine/kb/general#https )