Make configuration for max buffer size and max message size span all messages

At best, make it configurable per parser, but use global defaults.