Restore chunked loading of messages

@sebastian-schmid @jancborchardt @bartv2 @VicDeo