A simple set of REST server and client helpers