Http\Client - fetching adapter using getAdapter method instead of using adapter object directly