scripts, modules/http_client: fix htmlentities requires