* improve http_send() and http_negotiate_q() code