trying to get httpclient to work in core