shortened the http client factory and finished proxy and self-signed cert support