SHINDIG-1883 - dynamic-size feature implemenation is weak and vulnerable

git-svn-id: https://svn.apache.org/repos/asf/shindig/trunk@1430900 13f79535-47bb-0310-9956-ffa450edef68