`http_method = estrdup("GET")` might work?