server: add mock server to use for testing components.