GEOS-5766 - MonitorInputStream ignores maxSize
Merge pull request #216 from ischneider/GEOS-5766-2.2.x

GEOS-5766 - MonitorInputStream ignores maxSize