remove afinal library, use HttpClient instead