httpc: fix the hc == NULL condition in the http_client_thread()