Apache http client code trial