sample code about httpclient 4.2