add the headers method to the client