Add message size limit

Should address #150 for producer-ng at least.