Make maximum POST body size configurable

Opening to see if this is a reasonable way to do this.