More work on the server interface. Should be enough to start testing the client counterpart.