removed test code from Http\Client class