determing base url vom Google App Engine

See https://developers.google.com/appengine/docs/java/appidentity/