Generic Rest Client Implementation and Utilities