Issue #50, spectql now adjusts the link headers correctly, the last page is also given every time paging is applied. This last page will not occur if the link to the next page is already the last page.
Final stage of issue #50.