Change http client adapter to curl for better performance