custom httpclient rebuild