added message size limit config option