Minor cleanups
Add the (rather boring) server code to handle the 'contents' call.
All the test (even the slow client/server one) are now passing.