http client based on apache classes