replacing that HTTP client
removing some unused stuff