Changes to support paged web retrieval of messages.