Add adapter for HttpClient using service declaration