Added RSM (result set management) functionality to endpoint GET /message/<int:amount>?[next=timestamp]