ensure that the copy is done by libmicrohttp