Yes i know but this should be using our single https stack (service client) instead of reinventing the wheel to perform the http request.

What happens if i set proxies on the service or change other properties ? They dont get bubbled up here. Also, bugfixes etc have now more than one place to maitain...

We should definetely replace this by an implementation that uses serviceclient.