Add utility to determin if filename is valid
[CXF-6173] Use configured sizes limits for the SAAJIn processing