Add a mechanism to check the protocol being used when resolving entities on older JREs.
Fixed in http://svn.apache.org/r1658754 and included in v1.2.3