removed some unused lines in HTTPClient