used raw http client api rather than fluent api in core to reduce uberjar size