[WIP] Purge MAXBUF in favour of a configuration option.

This replaces the MAXBUF constant with `<limits:maxline>`.