Set input buffer to beginning instead of end.
Merge pull request #1083 from mozilla-services/flood-payload-size

Set input buffer to beginning instead of end.