Functional HTTP/JSON-RPC server, with minimal testing