transmit http answer code using http_client