transmit http answer code using http_client
follow Google style
Merge pull request #421 from mpromonet/master

transmit http answer code using http_client