changed the client to use a seq instead of var args and added defaults for body and headers