added configurable default timeout for http requests