Add a /checks endpoint

To check whether the endpoint wants any files, we can send their SHA256
values:

    POST /checks
    Content-Type: application/json

    { "shas": ["1","2"] }

The endpoint responds with the desired file SHA256 values:

    200
    { "shas": ["2"] }