[TIMOB-16883] APSHTTPClient fixed for CLI