add client configure to handle merging of header options