[client] add basic get/put/post/delete methods