learning apache httpclient