add configurable socket timeout to http client