Merged revision 1643761 from tomcat/trunk:
Close the InputStream after retrieving the last modification time from URLConnection.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc8.0.x/trunk@1643764 13f79535-47bb-0310-9956-ffa450edef68
Merged revision 1643766 from tomcat/trunk:
Extract several "protected" methods in order to make StandardRoot easier for extending.


git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc8.0.x/trunk@1643768 13f79535-47bb-0310-9956-ffa450edef68